package com.wego.entity.query;

import com.wego.common.base.BaseQuery;
import com.wego.entity.domain.Order;
import lombok.*;

import java.util.List;

/**
 * @className: OrderQuer
 * @description: 订单查询条件类
 * @author: Li Chuanwei
 * @date: 2023/07/14 0:30
 * @Company: Copyright [日期] by [作者或个人]
 **/

@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderQuery extends BaseQuery<Order> {
    /**
     * 编号
     */
    private Long id;

    /**
     * 支付方式编号
     */
    private Integer payMethodId;

    /**
     * 用户编号
     */
    private List<Long> userIds;
    private String userName;

    /**
     * 订单最后状态
     */
    private Integer state;

    /**
     * 开始时间
     */
    private String startTime;
    /**
     * 结束时间
     */
    private String endTime;
}

